package com.itheima.array2;
/*
二维数组的静态初始化
 */
public class Demo07 {


    public static void main(String[] args) {
        int[][] arr={{11,22,33},{44,55},{66,77,88,99}};
        for (int i = 0; i < arr.length; i++) {//外层循环  对二维数组进行遍历
            //arr[i]
            //System.out.println(arr[i]);
            // int[] temp=arr[i];
            for (int j = 0; j < arr[i].length; j++) {//内层循环  对一维数组进行遍历
                //arr[i][i]
                System.out.println(arr[i][j]);
            }

        }

    }
}
